package cn.aylog.service.impl;

import cn.aylog.dao.IAccountDao;
import cn.aylog.pojo.Account;
import cn.aylog.service.IAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AccountServiceImpl implements IAccountService {

    @Autowired
    private IAccountDao dao;

    @Override
    public List<Account> listAll() {
        return dao.listAll();
    }
}
